package com.xyc.mapper;

import com.xyc.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    void InsertUser(User user);

    List<User> selectUser();

    void updateUser(Map map);

    //查询用户数量
    int selectUserCount();

    //根据id进行查询
    User selectUserById(String id);

    //添加User
    void addUser(Map map);

    //根据user_id删除User
    void deleteUserById(String id);

    //分页查询
    List<User> userLimit(String k);

    //模糊查询
    List<User> userLike(String info);

}
